{#<!-- 图片上传需引入-->#}
{#<script type="text/javascript" src="{{ asset('bundles/systemadmin/js/swfupload/swfupload.js') }}"></script>#}
{#<script type="text/javascript" src="{{ asset('bundles/systemadmin/js/swfupload/swfupload.queue.js') }}"></script>#}
{#<script type="text/javascript" src="{{ asset('bundles/systemadmin/js/swfupload/swfupload.handlers.js') }}"></script>#}
{#<!-- 图片上传需初始化-->#}
{#<script type="text/javascript">#}
    {#$(function () {#}
        {#//初始化上传控件#}
        {#$(".upload-img").each(function () {#}
            {#$(this).InitSWFUpload({#}
                {#button_action:SWFUpload.BUTTON_ACTION.SELECT_FILE,#}
                {#sendurl: "{{ path('swfUpload')}}?nbdir=product",#}
                {#flashurl: "{{ asset('bundles/systemadmin/js/swfupload/swfupload.swf') }}",#}
                {#filetypes: "*.gif;*.jpg;*.png;*.bmp;*.xls;*.xlsx;",#}
{#//                max_height:100,#}
{#//                max_wight:100#}
            {#});#}
        {#});#}
    {#});#}
{#</script>#}